Back to authors @if (authorName && books.length) {

{{ authorName }}

@for (book of books; track book) {
{{ book }}
}
} @else if (authorName) {

{{ authorName }}

No books found for this author.

} @else {

Author not found.

}